<template>
  <div>
    <svg-icon
      icon-class="fullscreen"
      style="color:#fff; width: 20px; height: 20px;"
      @click="changeScreen"
    />
  </div>
</template>

<script>
import screenfull from 'screenfull'
export default {
  methods: {
    changeScreen() {
      if (!Screen.isEnabled) {
        this.$message.warning('123')
      }
      screenfull.toggle()
    }
  }
}
</script>

<style>

</style>
